﻿CREATE TRIGGER BoardLoans_Tracking_Update
ON [dbo].[BoardLoans] 
AFTER Update
AS 
BEGIN
	UPDATE Sync.BoardLoans_Tracking 
	SET LastUpdatedDate  = getdate()
    FROM Sync.BoardLoans_Tracking s JOIN INSERTED i
    ON s.BoardID = i.BoardID AND s.LoanID = i.LoanID
END











